package com.zzx.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @TableName t_user_menu
 */
@TableName(value = "t_user_menu")
@Data
public class TUserMenu extends BaseEntity implements Serializable {
    /**
     * 员工-菜单ID
     */
    @TableId
    @ApiModelProperty("员工-菜单ID")
    private Long userMenuId;

    /**
     * 员工id
     */
    @ApiModelProperty("员工id")
    @TableField("user_id")
    private Long userId;

    /**
     * 菜单ID
     */
    @ApiModelProperty("菜单ID")
    @TableField("menu_id")
    private Long menuId;


    @TableField(exist = false)
    @ApiModelProperty("产品-工序ids")
    private List<Long> ids;

    @TableField(exist = false)
    @ApiModelProperty("父级id")
    private String parentId;

    @TableField(exist = false)
    @ApiModelProperty("菜单名称")
    private String menuName;

}
